package com.hd.crdao.bean;

import java.util.List;

/**
 *
 *@author Programming
 *@date 2017/7/17 0017
 */
public class MyAccountBean {

    /**
     * success : 00
     * message : 处理成功
     * data : [{"id":"12","isNewRecord":false,"carBusiness":{"id":"28de585a97b14a268bd258eb3a1512bb","isNewRecord":false},"serviceTypeId":1,"caTimes":30,"caFlag":"1"}]
     */

    private int success;
    private String message;
    private List<DataBean> data;

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 12
         * isNewRecord : false
         * carBusiness : {"id":"28de585a97b14a268bd258eb3a1512bb","isNewRecord":false}
         * serviceTypeId : 1
         * caTimes : 30
         * caFlag : 1
         */

        private String id;
        private boolean isNewRecord;
        private CarBusinessBean carBusiness;
        private int serviceTypeId;
        private int caTimes;
        private String caFlag;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public CarBusinessBean getCarBusiness() {
            return carBusiness;
        }

        public void setCarBusiness(CarBusinessBean carBusiness) {
            this.carBusiness = carBusiness;
        }

        public int getServiceTypeId() {
            return serviceTypeId;
        }

        public void setServiceTypeId(int serviceTypeId) {
            this.serviceTypeId = serviceTypeId;
        }

        public int getCaTimes() {
            return caTimes;
        }

        public void setCaTimes(int caTimes) {
            this.caTimes = caTimes;
        }

        public String getCaFlag() {
            return caFlag;
        }

        public void setCaFlag(String caFlag) {
            this.caFlag = caFlag;
        }

        public static class CarBusinessBean {
            /**
             * id : 28de585a97b14a268bd258eb3a1512bb
             * isNewRecord : false
             */

            private String id;
            private boolean isNewRecord;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }
        }
    }
}
